package com.example.api.user;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author 86188
 */
@RequestMapping(value = "/user")
public interface UserServiceApi {

    /**
     * 新增用户
     * @param phone 手机号
     * @return
     */
    @RequestMapping(value = "/createUserByPhone",method = RequestMethod.POST)
    User createUserByPhone(String phone);

}
